package com.xydc.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * Menu entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
public class Menu implements java.io.Serializable {

	// Fields

	private String id;
	private String cm;
	private Double price;
	private Long marks;
	private String img;
	private String restaurant;

	// Constructors

	/** default constructor */
	public Menu() {
	}

	/** full constructor */
	public Menu(String cm, Double price, Long marks, String img,
			String restaurant) {
		this.cm = cm;
		this.price = price;
		this.marks = marks;
		this.img = img;
		this.restaurant = restaurant;
	}

	// Property accessors
	@Id
	@GeneratedValue(generator="userinfo_id")
	@GenericGenerator(name="userinfo_id",strategy="uuid")
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCm() {
		return this.cm;
	}

	public void setCm(String cm) {
		this.cm = cm;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Long getMarks() {
		return this.marks;
	}

	public void setMarks(Long marks) {
		this.marks = marks;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getRestaurant() {
		return this.restaurant;
	}

	public void setRestaurant(String restaurant) {
		this.restaurant = restaurant;
	}

}